home *** CD-ROM | disk | FTP | other *** search
- Subject: Re:
- Sent: 7/25/96 1:48 PM
- Received: 7/25/96 2:31 PM
- From: Scott Daniels, scottdfl@sprynet.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Thanks for the tip. I will look into it.
-
- ----------
- > From: Dave Wilson <dwilson@best.com>
- > To: OpenDoc Development Framework Discussion List
- <ODF-Interest@CILabs.ORG>
- > Subject: Re:
- > Date: Thursday, July 25, 1996 12:03 AM
- >
- > >Hi ODF Team,
- > >
- > >I have been doing some testing of my part embeded in both ODF parts &
- > >non-ODF parts, and I have found a problem when I am embeded that does
- not
- > >happen when not embeded. It seems that every time my view's Draw
- function
- > >is called (my view was invalidated), the view is erased beforehand.
- When
- > >not embeded this does not happen. This automatic erasing is a problem
- for
- > >me. Where is it happening and how can I circumvent it?
- > >
- > >Thanks,
- > >Scott
- >
- > One way to handle this in a leaf part is to call Draw() directly instead
- of
- > doing the more common Invalidate(). If you call Draw() directly, be sure
- to
- > call it inside a double loop:
- > - iterate over all the frames in your presentation.
- > - iterate over all the facets of each frame.
- >
- > A sample where this seems to work well (with no blinking when embedded)
- is
- > my Idler sample in the Developer University folder (on the DR5 CD).
- >
- > -Dave
- >
- > Dave Wilson
- > Personal Concepts
- > 635 Wellsbury Way
- > Palo Alto, CA 94306
- > voice: 415-494-6763
- > email: dwilson@best.com
-